import {Card, Form, Typography} from "antd";
import TextStructData from "../TextStructData.json";
import React from "react";

const {Paragraph} = Typography;


const AnalyseResult = () => {
    return (
        <Card
            title={"分析结果"}
            style={{width: '100%'}}
        >

            <div className={'myform'}>
                <Form
                    layout={'vertical'}
                >
                    <Form.Item label="结构">
                        <Paragraph copyable>
                            {TextStructData.TextStructData[0]?.structName}
                        </Paragraph>
                    </Form.Item>

                    <Form.Item label="特点">
                        <Paragraph copyable>
                            {TextStructData.TextStructData[0]?.character}
                        </Paragraph>
                    </Form.Item>


                    <Form.Item label="基本要求">
                        <Paragraph copyable>
                            {TextStructData.TextStructData[0]?.basic}
                        </Paragraph>
                    </Form.Item>

                    <Form.Item label="写作技巧">
                        <Paragraph copyable>
                            {TextStructData.TextStructData[0]?.skill}
                        </Paragraph>
                    </Form.Item>


                    <Form.Item label="适合场景">
                        <Paragraph copyable>
                            {TextStructData.TextStructData[0]?.place}
                        </Paragraph>
                    </Form.Item>
                </Form>
            </div>

        </Card>
    )
}


export default AnalyseResult